package cn.edu.hy.demo02;

public class AccountService {
	
	
	private AccountDao accountDao;
	
	public void setAccountDao(AccountDao accountDao) {
		this.accountDao = accountDao;
	}

	/**
	 * 保存账号信息
	 */
	public void save() {
		Account account =new Account();
		account.setId("123");
		account.setId("长得帅");
		accountDao.save(account);
		
	}
	
}
